﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VCC.Site.ViewModels.GetQuestionViewModel>" %>
<div class="bor_cor mar_t_b">
    <div class="bar_top_small ">
        <div class="bar_top_tit">
            <% = Model.LanguageID == 1? Model.ArticleCategory.Name : Model.ArticleCategory.EnglishName %> &nbsp;</div>
    </div>
    <div class="broad">
        <ul>
        <%if (Model.Articles != null && Model.Articles.Count() > 0)
          {
              foreach (var item in Model.Articles)
              {
              %>
            <li><a href="/Article/Details/<%= item.ID%>"><%=Html.Encode(item.Title)%></a></li>
            <%}}
              else{%>
              <li> <%= Model.LanguageID == 1 ? "Bài viết đang được cập nhật" : "Posts are updating"%></li>
             <% }
          %>
        </ul>
    </div>
</div>
